<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>查看文章</title>
		<link rel="stylesheet" type="text/css" href="<?php echo base_url('/style/admin/css/public.css')?>">
			<!--<link rel="stylesheet" type="text/css" href="<?php echo base_url() . '/style/admin/css/public.css' ?>">-->
	</head>
	<body>
		
		<table class="table">
		<tr>
			<td class="th" colspan="10">查看文章</td>
		</tr>
		
		<tr>
			<td>AID</td>
			<td>标题</td>
			<td>栏目</td>
			<td>发表时间</td>
			<td>操作</td>
		</tr>
		
		<?php foreach($article as $v): ?>
		<tr>
			<td><?php echo $v['aid']?></td>
			<td><?php echo $v['title']?></td>
			<td><?php echo $v['cname']?></td>
			<td><?php echo date('m-d',$v['time'])?></td>
			<td>
				[<a href="">编辑</a>]
				[<a href="">删除</a>]
			</td>
		</tr>
		<?php endforeach?>
	</table>
	<div class="page">
		<?php echo $links ?>
	</div>
	</body>
</html>
